package com.lovo.sheyingback.service;

import com.github.pagehelper.PageInfo;
import com.lovo.sheyingback.bean.Content;

public interface ContentService {
    PageInfo<Content> listContent(Integer current, Integer pageSize, Content content);
    PageInfo<Content> listContentByType(Integer current, Integer pageSize, Integer typeId);
    Content getById(Integer id);
    int insert(Content content);
    int update(Content content);
    int updateIndex(Integer id,Integer val);
}
